﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="updateserv.aspx.cs" Inherits="updateserv" %>
<%@ Register src="main_menu.ascx" tagname="main_menu" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Mr Inventory - Update Server</title>
    <link href="stylemain.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper">  
       <uc1:main_menu ID="main_menu" runat="server" />  
       <asp:Label ID="lbIdHolder" runat="server" Visible="false" Text="You really shouldn't be able to see this"></asp:Label>        
    <div id="searchBox">
       <p class="blackBold">Search for a server to update</p>
       <table id="searchTable" class="table" cellspacing="1px" summary="">
          <tr>
             <td>Server Name:<asp:TextBox ID="tbSerName" runat="server"></asp:TextBox></td>
             <td><asp:Button ID="bSearch" runat="server" Text="Search" OnClick="onClick_bSearch" /></td>
             <td><asp:DropDownList ID="ddServFnd" runat="server" Width="80px" ></asp:DropDownList></td>
             <td><asp:Button ID="bGetServ" runat="server" Text="Get" OnClick="onClick_bGetServ" Visible="false" /></td>
          </tr>
       </table>     
    </div>    
    <div id ="infoBox">
    <br />
       <p class="blackBold">Please enter as much information as possible</p>
       <table cellspacing="1px" class="table" id="infoTable" summary="test">
          <tr>
             <td>Server Name:</td>
             <td><asp:TextBox ID="tbName" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>OS:</td>
             <td><asp:TextBox ID="tbOs" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>Software:</td>
             <td><asp:TextBox ID="tbSoft" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>If VM provide Host</td>
             <td><asp:TextBox ID="tbVm" runat="server" Text="no"></asp:TextBox></td>
          </tr>
          <tr>
             <td>IP:</td>
             <td><asp:TextBox ID="tbIp" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>Model:</td>
             <td><asp:TextBox ID="tbModel" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>Serial #:</td>
             <td><asp:TextBox ID="tbSerNumb" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>CPU:</td>
             <td><asp:TextBox ID="tbCpu" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>MEM:</td>
             <td><asp:TextBox ID="tbMem" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>Storage:</td>
             <td><asp:TextBox ID="tbStorage" runat="server"></asp:TextBox></td>
          </tr>          
          <tr>
             <td>Location:</td>
             <td><asp:TextBox ID="tbLoc" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
             <td>Notes:</td>
             <td><asp:TextBox ID="tbNotes" runat="server"></asp:TextBox></td>
          </tr>
       </table><br />
       <asp:Button ID="bUpDate" runat="server" Text="Update!" OnClick="onClick_bUpdate" /><br /><br />
    </div>
    <div id="messageBox">
       <asp:Label ID="lbMessage" runat="server"></asp:Label>  
    </div>
    <div id="footer">
        <p class="blackNormSM">
          Mr Inventory © David Mauler 2010 <br />
          Backgound Image © Rachel Westfall 2010 <br />
          Mr Inventory is licensed under (GPLv2)
       </p>
    </div>
    </div>
    </form>
</body>
</html>
